import request from '@/utils/request'
// 查询设备维护详细
export function getRelationList(query) {
    return request({
      url: '/system/userType/userTypeList',
      method: 'get',
      params: query
    })
  }
  // 查询设备维护详细
export function getUserList() {
    return request({
      url: '/system/user/list?pageNum=1',
      method: 'get'
    })
  }
  // 新增设备维护
  export function addRelation(data) {
    return request({
      url: '/system/userType',
      method: 'post',
      data: data
    })
  }
  